﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kokomo.Environment.Documents
{
	/// <summary>
	/// Represents a detail item within a summary.
	/// </summary>
	/// <seealso cref="DetailViewModel.Summary"/>
	/// <see cref="SummaryDetailLinkItem"/>
	public class SummaryDetailItem
	{
		/// <summary>
		/// Initializes a new instance of <see cref="SummaryDetailItem"/>.
		/// </summary>
		/// <param name="heading">The heading of the detail.</param>
		/// <param name="text">The text of the detail.</param>
		public SummaryDetailItem(
			UiString heading,
			UiString text
			)
		{
			this.Heading = heading;
			this.Text = text;
		}

		/// <summary>
		/// Gets the heading of the detail.
		/// </summary>
		public UiString Heading { get; private set; }
		/// <summary>
		/// Gets the text of the detail.
		/// </summary>
		public UiString Text { get; private set; }
	}
}
